package org.example.stock;

import org.example.stock.fallback.StockClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "stock",fallback = StockClientFallback.class)
public interface StockClient {

    @GetMapping("/stock/test")
    String test();
}
